package cn.tedu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Student {
    private String name;
    private Integer age;
    private Integer sex;
    private String[] hobby;
    private Integer edu;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date intime;
}
